package serveurPoste;

import java.util.ArrayList;


public class CollectionInfractions {
	private ArrayList<Infraction> mListeInfraction;
	
	public CollectionInfractions(){
		mListeInfraction = new ArrayList<Infraction>();
	}
		
	public Infraction getInfraction(int index)
	{
		
		return mListeInfraction.get(index); 
		
	}
	
	public int size()
	{
		return mListeInfraction.size();
	}
	
	public ArrayList<Infraction> getListeInfraction()
	{
		return mListeInfraction;
	}
	
	
}
